#include <iostream>
#include "vectorfunctions.h"

int main()
{
	int l;
	int nzl, pl;
	int x[100], nonzero[100], prime[100];	
	cout<<"Number of elements in vector is : ";
	cin>>l;
	readintVector(x, l);
	nzl = nonzeroes(x, nonzero, l);
	pl=primes(x, prime, l);
	print3intVectors(x, l, nonzero, nzl, prime, pl);

return 0;
}
